package com.luoxue.service;

import com.luoxue.entity.SysDataSource;
import com.luoxue.mapper.SysDataSourceMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysDataSourceService {

    @Resource
    private SysDataSourceMapper sysDataSourceMapper;

    public List<SysDataSource> selectByCondition(SysDataSource sysDataSource) {
        return sysDataSourceMapper.selectByCondition(sysDataSource);
    }
}
